package org.dtrd.modules.device.config;


import lombok.Data;
import org.dtrd.modules.device.entity.bean.DeviceInfo;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "dtrd.device")
public class DeviceConfigration {

    private static List<DeviceInfo> list;

    public static List<DeviceInfo> getList() {
        return list;
    }

    public void setList(List<DeviceInfo> list) {
        DeviceConfigration.list = list;
    }
}
